package persistencia.DAOs;

import java.sql.SQLException;

import persistencia.PersistenciaException;

import logica.datatypes.DataEmpleado;

public interface IDAOEmpleados {
	
	public void agregar(DataEmpleado dataEmpleado) throws SQLException, ClassNotFoundException, PersistenciaException;
	
	public boolean existeEmpleado(int ci) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public DataEmpleado obtenerEmpleado(int ci) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public void borrarEmpleado(int ci) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public void modificarEmpleado(DataEmpleado dataEmpleado) throws SQLException, PersistenciaException, ClassNotFoundException;
	
	public DataEmpleado[] listadoEmpleadosEmpresa(int rut) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public DataEmpleado[] listadoEmpleados() throws PersistenciaException, SQLException, ClassNotFoundException;

}
